;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;  Copyright (c) AVerMedia TECHNOLOGIES, Inc.
;;
;;  Installation file for AVerMedia USB Polaris Series Dummy IR Driver
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Version]
Signature="$Chicago$"
Class=USB
ClassGuid={36fc9e60-c465-11cf-8056-444553540000}
Provider=%AVerMedia%
CatalogFile=AVPolDIR.cat
DriverVer=01/05/2011,10.2.64.51

[SourceDisksNames]
1=%DriverDescription%,,,

[SourceDisksFiles]
AVPolDIR.sys=1
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[DestinationDirs]
AVPolDIR.CopyFiles=12

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%AVerMedia%=DeviceList,NTamd64,NTamd64.6

[DeviceList.NTamd64]
%DeviceDescriptionA336DVBT%=AVPolDIRx64,USB\VID_07CA&PID_1336&MI_00

[DeviceList.NTamd64.6]
%DeviceDescriptionA336DVBT%=AVPolDIRx64_Vista,USB\VID_07CA&PID_1336&MI_00

[AVPolDIRx64.NT]
AddReg=AVPolDIR.AddReg

[AVPolDIRx64_Vista.NT]
CopyFiles=AVPolDIR.CopyFiles
AddReg=AVPolDIR.AddReg

[AVPolDIR.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,AVPolDIR.sys
HKR,"Parameters","MaximumTransferSize",0x10001,256
HKR,"Parameters","DebugLevel",0x10001,2
HKR,"Parameters","A336DummyEnable",0x10001,1

[AVPolDIRx64.NT.Services]
Addservice=,0x00000002

[AVPolDIRx64_Vista.NT.Services]
Addservice=AVPolDIR,0x00000002,AVPolDIR.AddService

[AVPolDIR.AddService]
DisplayName=%ServiceDescription%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\AVPolDIR.sys
LoadOrderGroup=Base



[AVPolDIR.CopyFiles]
AVPolDIR.sys

;-------------- WDF Coinstaller installation

[AVPolDIRx64_Vista.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[AVPolDIRx64_Vista.NT.Wdf]
KmdfService = AVPolDIR, AVPolDIR_wdfsect

[AVPolDIR_wdfsect]
KmdfLibraryVersion = 1.9
;---------------------------------------------------------------;

[Strings]
AVerMedia="AVerMedia TECHNOLOGIES, Inc."

DriverDescription="AVerMedia USB Polaris Series Dummy IR Driver"

DeviceDescriptionA336ATSC="AVerMedia A336 MiniCard Dummy IR Receiver"
DeviceDescriptionA336DVBT="AVerMedia A336 MiniCard Dummy IR Receiver"
DeviceDescriptionA336PATV="AVerMedia A336 MiniCard Dummy IR Receiver"

ServiceDescription="AVerMedia USB Polaris Series Dummy IR Service"

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
